/**
 * jims
 */
package com.jims.master.modules.nurse.entity;

import org.hibernate.validator.constraints.Length;

import com.jims.master.common.persistence.DataEntity;

/**
 * 护理项目字典Entity
 * @author CTQ
 * @version 2017-06-01
 */
public class NurseTempItemDict extends DataEntity<NurseTempItemDict> {
	
	private static final long serialVersionUID = 1L;
	private String classCode;		// 护理类型
	private String className;		// 护理名称
	private String vitalCode;		// 护理项目代码
	private String vitalSigns;		// 护理项目
	private String unit;		// 单位
	private String deptId;		// 科室ID
	private String wardCode;		// 病区ID
	private String sortNo;		// 排序
	private String nurseGroups;		// 护理人群（1 新生儿、2 成人）

	public NurseTempItemDict() {
		super();
	}

	public NurseTempItemDict(String id){
		super(id);
	}

	@Length(min=0, max=10, message="护理类型长度必须介于 0 和 10 之间")
	public String getClassCode() {
		return classCode;
	}

	public void setClassCode(String classCode) {
		this.classCode = classCode;
	}
	
	@Length(min=0, max=100, message="护理名称长度必须介于 0 和 100 之间")
	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}
	
	@Length(min=0, max=10, message="护理项目代码长度必须介于 0 和 10 之间")
	public String getVitalCode() {
		return vitalCode;
	}

	public void setVitalCode(String vitalCode) {
		this.vitalCode = vitalCode;
	}
	
	@Length(min=0, max=16, message="护理项目长度必须介于 0 和 16 之间")
	public String getVitalSigns() {
		return vitalSigns;
	}

	public void setVitalSigns(String vitalSigns) {
		this.vitalSigns = vitalSigns;
	}
	
	@Length(min=0, max=8, message="单位长度必须介于 0 和 8 之间")
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	@Length(min=0, max=64, message="科室ID长度必须介于 0 和 64 之间")
	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	
	@Length(min=0, max=64, message="病区ID长度必须介于 0 和 64 之间")
	public String getWardCode() {
		return wardCode;
	}

	public void setWardCode(String wardCode) {
		this.wardCode = wardCode;
	}
	
	public String getSortNo() {
		return sortNo;
	}

	public void setSortNo(String sortNo) {
		this.sortNo = sortNo;
	}

    public String getNurseGroups() {
        return nurseGroups;
    }

    public void setNurseGroups(String nurseGroups) {
        this.nurseGroups = nurseGroups;
    }
}